import { Define, EntityObjectFactory } from 'tiny-entity2';
const EntityObjectType = EntityObjectFactory.GetEntityObjectType(process.env.dataBaseType || 'mysql');
@Define.Table({ TableName: "condition" })
export class Condition extends EntityObjectType<Condition>{
    @Define.PrimaryKey()
    id: string;

    @Define.Column({
        DataType: Define.DataType.VARCHAR,
    })
    objectId: string;

    @Define.Column({
        DataType: Define.DataType.VARCHAR,
    })
    objectType: string;

    @Define.Column({
        DataType: Define.DataType.VARCHAR,
    })
    sentence: string;
}